package com.efast.cafe.portal.service.common;

import com.efast.cafe.portal.bean.common.PortalCommonLaudBean;
import com.efast.cafe.portal.entity.common.PortalCommonLaud;
import com.efast.cafe.portal.remote.common.PortalCommonLaudService;

/**
 * 點贊
 * @author fxm
 *
 */
public interface IPortalCommonLaudService extends PortalCommonLaudService{

	/**
	 * 查询业务对象的点赞数
	 * @param objectId
	 * @param objectType
	 * @return
	 */
	public PortalCommonLaudBean queryLaud(Integer objectId,String objectType);
	
	/**
	 * 點贊
	 * @param laud
	 */
	public void addLaud(PortalCommonLaud laud);
	
	/**
	 * 取消點贊
	 * @param objectId
	 * @param objectType
	 */
	public void delLaud(Integer objectId,String objectType);
}
